package edu.bit.water.dao;

import edu.bit.water.entity.MetaLimit;
import edu.bit.water.entity.WasteWaterSub;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface WasteWaterSubDao {
    List<MetaLimit> getMetaData(String stdNumber);

    List<WasteWaterSub> select(int lastId);

    void insert(WasteWaterSub wasteWaterSub);

    void update(WasteWaterSub wasteWaterSub);

    void delete(Integer id);

    void updateState(String state, int id);
}
